package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import com.ssy.lingxi.member.merchant.handler.annotation.DateStringFormatAnnotation;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 会员淘汰（解除关系、黑名单）接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-06-01
 */
public class MemberEliminateOrBlacklistVO implements Serializable {
    private static final long serialVersionUID = 2868269929163673306L;

    /**
     * 审核内容Id
     */
    @NotNull(message = "审核内容Id要大于0")
    @Positive(message = "审核内容Id要大于0")
    private Long validateId;

    /**
     * 处理日期（可为空），如不为空则格式为yyyy-MM-dd
     */
    @DateStringFormatAnnotation(message = "处理日期格式为yyyy-MM-dd")
    private String date;

    /**
     * 处理原因
     */
    @Size(max = 120, message = "处理原因最长120个字符")
    private String reason;

    public Long getValidateId() {
        return validateId;
    }

    public void setValidateId(Long validateId) {
        this.validateId = validateId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
